Skip to content

[Dynamic Dashboard] Orders card empty state #11536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 28, 2024
Merged

Conversation

0nko
Copy link
Contributor

@0nko 0nko commented May 17, 2024

Part of #11461. Adds the empty state UI to orders card.

To test:

  1. Start the app and select the orders card
  2. Change the filter to a status that doesn't have any order
  3. Verify the empty message is shown

@0nko 0nko added the feature: dashboard Related to home screen project label May 17, 2024
@0nko 0nko added this to the 18.8 milestone May 17, 2024
@0nko 0nko requested a review from hichamboushaba May 17, 2024 12:59
@0nko 0nko requested a review from a team as a code owner May 17, 2024 12:59
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented May 17, 2024

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
FlavorJalapeno
Build TypeDebug
Commit1660f43
Direct Downloadwoocommerce-prototype-build-pr11536-1660f43.apk

@codecov-commenter
Copy link

codecov-commenter commented May 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 40.22%. Comparing base (11da5dd) to head (1660f43).
Report is 37 commits behind head on trunk.

Files Patch % Lines
...android/ui/dashboard/orders/DashboardOrdersCard.kt 0.00% 32 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              trunk   #11536      +/-   ##
============================================
- Coverage     40.24%   40.22%   -0.02%     
  Complexity     5202     5202              
============================================
  Files          1089     1089              
  Lines         63462    63487      +25     
  Branches       8711     8718       +7     
============================================
  Hits          25539    25539              
- Misses        35619    35644      +25     
  Partials       2304     2304              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from issue/11461-orders-card-filtering to trunk May 17, 2024 13:38
@hichamboushaba hichamboushaba self-assigned this May 19, 2024
@hichamboushaba hichamboushaba removed the request for review from a team May 19, 2024 09:47
@0nko 0nko mentioned this pull request May 20, 2024
# Conflicts:
#	WooCommerce/src/main/kotlin/com/woocommerce/android/ui/dashboard/orders/DashboardOrdersCard.kt
Copy link
Member

@hichamboushaba hichamboushaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @0nko, it works well.

I won't merge to give you a chance to visit this discussion p1716276731997339-slack-C03L1NF1EA3 and decide if we should align with iOS on this or not.

@0nko
Copy link
Contributor Author

0nko commented May 21, 2024

Thanks Hicham, I think we're aligned 👍

@backwardstruck backwardstruck modified the milestones: 18.8, 18.9 May 24, 2024
@0nko 0nko merged commit 2913a8c into trunk May 28, 2024
14 checks passed
@0nko 0nko deleted the issue/11461-empty-state branch May 28, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: dashboard Related to home screen project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants